import Curd from './base/curd'
import http from './base/axios'

var curd = new Curd("goods");

curd.tkl = (url) => {
	return http.get(curd.root + '/tkl?url=' + url);
}

curd.recommend = (pageNo, itemId) => {
	return http.get(curd.root + '/recommend', {
		params: {
			pageNo: pageNo,
			itemId: itemId
		}
	});
}

export default curd;
